import React, { Component } from 'react';
import BreadcrumbCustom from "../../components/BreadCrumb";
import AntdCarousel from './AntdCarousel.jsx'
import SwiperCarousel from './SwiperCarousel.jsx'
import SwiperOwn from './child/SwiperOwn.jsx'
// import './certify.css'
// import './swiper.min.css'

class SwiperPage extends Component {

  constructor(props) {
    super(props);
    this.state = {
      swiperData: [
        {id: 1, info: '内容1', url: ''},
        {id: 2, info: '内容2', url: ''},
      ]
    }
  }

  componentWillMount () {

  }

  render() {
    // const swiperData = [
    //   {id: 1, info: '内容', url: ''},
    // ]
    return (
      <div>
        <BreadcrumbCustom paths={['首页', '测试', '轮播']}/>
        <SwiperOwn data={ this.state.swiperData } />
        <AntdCarousel />
        <SwiperCarousel />
      </div>
    )
  }
}

export default SwiperPage;